Skip to content

docs: fix misleading shouldPrefetch link #2025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 27, 2019
Merged

docs: fix misleading shouldPrefetch link #2025

merged 2 commits into from
Nov 27, 2019

Conversation

wxsms
Copy link
Member

@wxsms wxsms commented Nov 15, 2019

The correct link is https://ssr.vuejs.org/zh/api/#shouldprefetch, but it's present as https://ssr.vuejs.org/zh/api/#shouldpreload now.

Summary

as above.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature
  • Related documents have been updated
  • Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@haoranpb
Copy link
Contributor

Hi @wxsms ,

Nice Catch!

Do you think the <link rel="preload"> in the corresponding English document should also be changed into <link rel="prefetch">?

<link rel="preload"> should be <link rel="prefetch">
@wxsms
Copy link
Member Author

wxsms commented Nov 18, 2019

@ludanxer Thanks, have not notice this before. Added a commit to fix this one too.

Copy link
Member

@meteorlxy meteorlxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@meteorlxy meteorlxy changed the title docs: fix misleading shouldPrefetch link in zh docs docs: fix misleading shouldPrefetch link Nov 27, 2019
@meteorlxy meteorlxy merged commit 28a10c6 into vuejs:master Nov 27, 2019
@vue-bot
Copy link

vue-bot commented Nov 27, 2019

Hey @wxsms, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚

@wxsms wxsms deleted the patch-2 branch February 28, 2020 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants